package com.wf.maven;

import java.io.IOException;


public abstract class HttpServlet {
    public void service() {
        System.out.println("HttpServlet.service()");
    }

    protected abstract void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException;

    protected abstract void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;
}
